{
GSList *tables;
- guint compose_buffer[GTK_MAX_COMPOSE_LEN + 1];
+ guint16 compose_buffer[GTK_MAX_COMPOSE_LEN + 1];
gunichar tentative_match;
gint tentative_match_len;
static int
compare_seq_index (const void *key, const void *value)
{
- const guint *keysyms = key;
+ const guint16 *keysyms = key;
const guint16 *seq = value;
if (keysyms[0] < seq[0])
compare_seq (const void *key, const void *value)
{
int i = 0;
- const guint *keysyms = key;
+ const guint16 *keysyms = key;
const guint16 *seq = value;
while (keysyms[i])
gboolean
gtk_check_compact_table (const GtkComposeTableCompact *table,
- guint *compose_buffer,
+ guint16 *compose_buffer,
gint n_compose,
gboolean *compose_finish,
gboolean *compose_match,
}
gboolean
-gtk_check_algorithmically (const guint *compose_buffer,
+gtk_check_algorithmically (const guint16 *compose_buffer,
gint n_compose,
gunichar *output_char)
extern const GtkComposeTableCompact gtk_compose_table_compact;
-gboolean gtk_check_algorithmically (const guint *compose_buffer,
+gboolean gtk_check_algorithmically (const guint16 *compose_buffer,
gint n_compose,
gunichar *output);
gboolean gtk_check_compact_table (const GtkComposeTableCompact *table,
- guint *compose_buffer,
+ guint16 *compose_buffer,
gint n_compose,
gboolean *compose_finish,
gboolean *compose_match,